home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / exampleCode / audio / tablenet / README < prev    next >
Encoding:
Text File  |  1994-08-02  |  1.3 KB  |  42 lines

  1.  
  2.  
  3.                                    tabletnet
  4.  
  5.  
  6.                  tablenet generates a small series of waveforms 
  7.            and writes them into a 16-bit AIFF file named tableNet.aifc.
  8.  
  9.  
  10.   tablenet.c:  
  11.       Generates AIFF-C file containing eight single, cycle waveforms 
  12.           stored in the following order:
  13.   
  14.       1   non-bandlimited sawtooth 
  15.       2   non-bandlimited triangle 
  16.       3   non-bandlimited pulse wave (25% duty cycle)
  17.       4   non-bandlimited square wave (50% duty cycle)
  18.       5   non-bandlimited pulse wave (75% duty cycle)
  19.       6   sine wave
  20.         cosine wave
  21.     3   harmonic wave (1st, 5th, 9th harmonics)
  22.       
  23.       To inspect the generated file, tableNet.aifc, use 
  24.     soundeditor(1), a graphical waveform editor.  A bug in 
  25.     released versions of soundeditor yields a waveform 
  26.     displayed upside down (display only) and clips the 
  27.     waveform values exceeding range [-32000 ... 32000] 
  28.     (display only).
  29.  
  30.  
  31.      A single cycle of waveform can contain up to 
  32.               (length of cycle in samples)/2
  33.      harmonics without aliasing.  However, when changing the playback rate 
  34.      of the waveforms to output various pitches, the high frequencies cause 
  35.      noticeable aliasing and jitter noise. 
  36.  
  37.  
  38.     
  39.                           Written by Gints Klimanis 
  40.                       Silicon Graphics Computer Systems
  41.                                    1992
  42.